﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000EEB RID: 3819
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueGetGambleInfoCsReq : IMessage<RogueGetGambleInfoCsReq>, IMessage, IEquatable<RogueGetGambleInfoCsReq>, IDeepCloneable<RogueGetGambleInfoCsReq>, IBufferMessage
	{
		// Token: 0x17003086 RID: 12422
		// (get) Token: 0x0600AB4D RID: 43853 RVA: 0x001CF8C0 File Offset: 0x001CDAC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueGetGambleInfoCsReq> Parser
		{
			get
			{
				return RogueGetGambleInfoCsReq._parser;
			}
		}

		// Token: 0x17003087 RID: 12423
		// (get) Token: 0x0600AB4E RID: 43854 RVA: 0x001CF8C7 File Offset: 0x001CDAC7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueGetGambleInfoCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003088 RID: 12424
		// (get) Token: 0x0600AB4F RID: 43855 RVA: 0x001CF8D9 File Offset: 0x001CDAD9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueGetGambleInfoCsReq.Descriptor;
			}
		}

		// Token: 0x0600AB50 RID: 43856 RVA: 0x001CF8E0 File Offset: 0x001CDAE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueGetGambleInfoCsReq()
		{
		}

		// Token: 0x0600AB51 RID: 43857 RVA: 0x001CF8E8 File Offset: 0x001CDAE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueGetGambleInfoCsReq(RogueGetGambleInfoCsReq other) : this()
		{
			this.propEntityId_ = other.propEntityId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600AB52 RID: 43858 RVA: 0x001CF90D File Offset: 0x001CDB0D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueGetGambleInfoCsReq Clone()
		{
			return new RogueGetGambleInfoCsReq(this);
		}

		// Token: 0x17003089 RID: 12425
		// (get) Token: 0x0600AB53 RID: 43859 RVA: 0x001CF915 File Offset: 0x001CDB15
		// (set) Token: 0x0600AB54 RID: 43860 RVA: 0x001CF91D File Offset: 0x001CDB1D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PropEntityId
		{
			get
			{
				return this.propEntityId_;
			}
			set
			{
				this.propEntityId_ = value;
			}
		}

		// Token: 0x0600AB55 RID: 43861 RVA: 0x001CF926 File Offset: 0x001CDB26
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueGetGambleInfoCsReq);
		}

		// Token: 0x0600AB56 RID: 43862 RVA: 0x001CF934 File Offset: 0x001CDB34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueGetGambleInfoCsReq other)
		{
			return other != null && (other == this || (this.PropEntityId == other.PropEntityId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600AB57 RID: 43863 RVA: 0x001CF964 File Offset: 0x001CDB64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PropEntityId != 0U)
			{
				num ^= this.PropEntityId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600AB58 RID: 43864 RVA: 0x001CF9A3 File Offset: 0x001CDBA3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600AB59 RID: 43865 RVA: 0x001CF9AB File Offset: 0x001CDBAB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600AB5A RID: 43866 RVA: 0x001CF9B4 File Offset: 0x001CDBB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PropEntityId != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.PropEntityId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600AB5B RID: 43867 RVA: 0x001CF9E8 File Offset: 0x001CDBE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PropEntityId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PropEntityId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600AB5C RID: 43868 RVA: 0x001CFA26 File Offset: 0x001CDC26
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueGetGambleInfoCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PropEntityId != 0U)
			{
				this.PropEntityId = other.PropEntityId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600AB5D RID: 43869 RVA: 0x001CFA57 File Offset: 0x001CDC57
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600AB5E RID: 43870 RVA: 0x001CFA60 File Offset: 0x001CDC60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 96U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.PropEntityId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004595 RID: 17813
		private static readonly MessageParser<RogueGetGambleInfoCsReq> _parser = new MessageParser<RogueGetGambleInfoCsReq>(() => new RogueGetGambleInfoCsReq());

		// Token: 0x04004596 RID: 17814
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004597 RID: 17815
		public const int PropEntityIdFieldNumber = 12;

		// Token: 0x04004598 RID: 17816
		private uint propEntityId_;
	}
}
